In connection with the basename, the index is the first new filename. Therefore it is appended to the basename. With the digits-gadget you may specify the minimum amount of digits the index is built of. The next index is the old one increased by one, except if there was a gap. In this case the On gap gadget decides if the gap will be left or closed or if you should be asked about what to do.